package com.distribute.core.monitor;

import java.io.Serializable;

/**
 * 监控统计工具：jvm 内存统计
 *
 * @author chennengcheng
 * @date 2021-09-22 15:49
 * @remark
 */
public class JvmMemoryMessage implements Serializable {

    /**
     * JVM内存已用空间为
     */
    private String jvmUsedMemory;

    /**
     * JVM内存空闲空间为
     */
    private String jvmFreeMemory;

    /**
     * JVM总内存空间为
     */
    private String jvmTotalMemory;

    public JvmMemoryMessage(String jvmUsedMemory, String jvmFreeMemory, String jvmTotalMemory) {
        this.jvmUsedMemory = jvmUsedMemory;
        this.jvmFreeMemory = jvmFreeMemory;
        this.jvmTotalMemory = jvmTotalMemory;
    }

    public String getJvmUsedMemory() {
        return jvmUsedMemory;
    }

    public void setJvmUsedMemory(String jvmUsedMemory) {
        this.jvmUsedMemory = jvmUsedMemory;
    }

    public String getJvmFreeMemory() {
        return jvmFreeMemory;
    }

    public void setJvmFreeMemory(String jvmFreeMemory) {
        this.jvmFreeMemory = jvmFreeMemory;
    }

    public String getJvmTotalMemory() {
        return jvmTotalMemory;
    }

    public void setJvmTotalMemory(String jvmTotalMemory) {
        this.jvmTotalMemory = jvmTotalMemory;
    }
}
